export const regular = {
  phone: /^1[0|1|2|3|4|5|6|7|8|9][0-9]{9}$/,
  code: /^\d{6}$/,
  chinese: /^[\u4e00-\u9fa5]{1,10}$/,
  email: /[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,
  url: /[a-zA-z]+:\/\/[^\s]*/,
  id: /^(\d{6})(\d{4})(\d{2})(\d{2})(\d{3})([0-9]|X)$/,
  password: /^.{6,16}$/,
  taxNum: /^[A-Z0-9]{15}$|^[A-Z0-9]{17}$|^[A-Z0-9]{18}$|^[A-Z0-9]{20}$/, // 纳税人识别号
  // password: /(?=.*([a-zA-Z].*))(?=.*[0-9].*)[a-zA-Z0-9-*/+.~!@#$%^&*()]{6,20}$/,
  num: /^\d{1,}$/,
  floatNum: /^\d+(\.\d+)?$/,
  character: /^[a-zA-Z]{1,}$/,
  bankCard: /^([1-9]{1})([0-9]{15,19})$/
}